﻿#ifndef CDevBeltRealign_H
#define CDevBeltRealign_H
/********************************************************************************
** @ Date:2025/05/26
** @ Author: HanJiaXin
** @ Description:跑偏设备类
** @ Version:1.0.0
** @ ClassName:CDevBeltRealign
** @ Fun:
********************************************************************************/
#include <QObject>
#include "CDevDataBeltRealign.h"
#include "CCorrectCtrMange.h"
#include "CCamerCtrMange.h"
#include "CWorkMng.h"

class CDevBeltRealign  : public QObject
{
	Q_OBJECT

public:
	CDevBeltRealign(QString sPointGuid, QString sPointName,bool& bRet);
	~CDevBeltRealign();

	bool ctrDev(SCtrInfo& stCtrInfo);				//控制设备

private:
	bool init(QString sPointGuid);                    //初始化AI检测设备类

public:
	QString m_sPointGuid;//设备GUid/跑偏点Guid
	QString m_sPointName;//设备名称/跑偏点名称
	CDevDataBeltRealign* m_pDevData;                   //设备数据
	CCorrectCtrMange* m_pBeltCorrectCtrMange;		   //皮带跑偏纠偏设备控制数组
	CCamerCtrMange* m_pCamerCtrMange;	               //摄像头设备控制数组
	CWorkMng* m_pWorkMng;                              //跑偏数据库线程业务逻辑数组
};

#endif